<?php
/**
 * 
 * @author Youssef Driouach
 *
 * 20 août 2012
 */
class IndexController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    	
    }

    public function indexAction()
    {
        // action body
    	if(Zend_Auth::getInstance()->hasIdentity()){
    		
    	}else{
    		$this->_redirect('login');
    	}
    	
    	
    }


}

